package xue;

import java.io.BufferedReader;
import java.io.PrintWriter;
import java.util.HashMap;
import java.util.Iterator;
import java.util.ResourceBundle;

public class Test {
    final static int a=0;
    static ResourceBundle resourceBundle=ResourceBundle.getBundle("conf/baidu");
    public static void main(String[] args) {
//        String str="abcd";
//        char[] c={'a','b','c','d'};
//        System.out.println(str.equals(c));
//        HashMap<Object,Object> hashMap=new HashMap<>();
//        hashMap.put(null,null);
//        int[] a;
//        for(int i=6;i<0;i++){
//            System.out.println(i);
//        }
//        System.out.println(resourceBundle.getString("ak"));
////        Integer f1=100,f2=100,f3=150,f4=150;
////        System.out.println(f1==f2);
////        System.out.println(f3==f4);
//        String s1="Programming";
//        String s2="Program";
//        String s3="ming";
//        String s5=s2+s3;
//        String s4="Program"+"ming";
//        System.out.println(s1.hashCode());
//        System.out.println(s2.hashCode());
//        System.out.println(s3.hashCode());
//        System.out.println(s4.hashCode());
//        System.out.println(s5.hashCode());
//        System.out.println(s1==s4);
//        System.out.println(s1==s5);
//        System.out.println(s4==s5);
//        B a=new A();

        B b=new B();
    }}

class B{
    static B b=new B();
    static {
        System.out.println("static B");
    }
    {
        System.out.println("contur B");
    }

}
class A extends B{
    static A a =new A();
    static {
        System.out.println("static A");
    }
    public A(){
        System.out.println("constr A");
    }
}

